package com.myway.service;

import com.myway.dto.beans.PageQuery;
import com.myway.pojo.SysPortalNews;

import java.util.Date;
import java.util.List;

/**
 * Created by yufei on 2018/1/17.
 */
public interface SysPortalNewsService{

    List<SysPortalNews> itemDetailPage(String type);

    SysPortalNews getPageById(Long id);

    int count(String type);

    List<SysPortalNews> page(PageQuery page, String type);

    SysPortalNews getPrePageById(Date operateTime, String type);

    SysPortalNews getNextPageById(Date operateTime, String type);
}
